Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading indicator to the test liveview #6023

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

r-richardson
Copy link
Contributor

@r-richardson r-richardson commented Oct 23, 2024

This PR adds a loading animation indicating that the liveview is being loaded. Currently only a empty box is displayed, visible in the webui before liveview content is received by the responsible canvas element.
Test cases are also added to confirm the elements are displayed and hidden as expected.

Related Issue: https://progress.opensuse.org/issues/134840

loading_animation

@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch from dc75e93 to 2f09fda Compare October 23, 2024 15:19
assets/javascripts/running.js Outdated Show resolved Hide resolved
@kalikiana
Copy link
Member

[15:22:13] t/full-stack.t ......... 31/? Bailout called.  Further testing stopped:  test 't/full-stack.t' exceeds runtime limit of '1800' seconds
FAILED--Further testing stopped: test 't/full-stack.t' exceeds runtime limit of '1800' seconds

assets/javascripts/running.js Outdated Show resolved Hide resolved
assets/javascripts/running.js Outdated Show resolved Hide resolved
@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch 2 times, most recently from 7cc1e96 to c3b75de Compare October 24, 2024 14:11
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.98%. Comparing base (c53c994) to head (32b51a2).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6023   +/-   ##
=======================================
  Coverage   98.98%   98.98%           
=======================================
  Files         395      395           
  Lines       39382    39405   +23     
=======================================
+ Hits        38982    39005   +23     
  Misses        400      400           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

assets/stylesheets/result_preview.scss Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch 5 times, most recently from d7b26ba to 35f7675 Compare October 24, 2024 16:51
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
t/ui/18-tests-details.t Outdated Show resolved Hide resolved
assets/javascripts/running.js Outdated Show resolved Hide resolved
assets/javascripts/running.js Outdated Show resolved Hide resolved
@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch 7 times, most recently from 8f16459 to 8a59ae0 Compare October 28, 2024 15:14
Copy link
Contributor

mergify bot commented Oct 30, 2024

This pull request is now in conflicts. Could you fix it? 🙏

@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch 2 times, most recently from 32b51a2 to 4f03389 Compare October 31, 2024 02:37
Copy link

Great PR! Please pay attention to the following items before merging:

Files matching assets/stylesheets/**:

  • Consider providing screenshots in a PR comment to show the difference visually

This is an automatically generated QA checklist based on modified files.

@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch from 4f03389 to 31caf0c Compare October 31, 2024 02:47
This PR adds a loading animation indicating that the liveview is being loaded. Currently only a empty box is displayed, visible in the webui before liveview content is received by the responsible canvas element.
Test cases are also added to confirm the elements are displayed and hidden as expected.

Related Issue: https://progress.opensuse.org/issues/134840
@r-richardson r-richardson force-pushed the liveview_loading_animation_134840 branch from 31caf0c to 012ceaf Compare October 31, 2024 03:15
@r-richardson r-richardson marked this pull request as ready for review October 31, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants